extends layout

block content
	div.list-group
		each val in bookList
			if(val.isRead==0)
				a(href="/book/section/"+val.id+"/context?bookId="+val.book_id+"&index="+val.index).list-group-item=val.title
			else
				a(href="/book/section/"+val.id+"/context?bookId="+val.book_id+"&index="+val.index).list-group-item.active=val.title
	script(type="text/javascript",src="//cdn.bootcss.com/jquery/3.0.0/jquery.min.js") 
	script(type="text/javascript",src="/javascripts/sectionList.js")
